FROM golang:1.21.8
WORKDIR $GOPATH/c
COPY . $GOPATH/c
EXPOSE 8082
ENV GOPROXY https://goproxy.cn,direct
RUN go build -o c c.go
ENTRYPOINT ["./c"]